extends Control

@onready var exit_button = $CenterContainer/VBoxContainer/ExitButton
@onready var play_button = $CenterContainer/VBoxContainer/PlayButton

func _ready() -> void:
	if OS.get_name() == "Web":
		exit_button.visible = false
		play_button.text = "Play"
		




func _on_exit_button_pressed():
	get_tree().quit()


func _on_play_button_pressed() -> void:
	get_tree().change_scene_to_file("res://src/UI/LevelSelectionScreen.tscn")
